package sebastiankerckhof.scene.lighting;

import sebastiankerckhof.math.Color3f;
import sebastiankerckhof.math.Vector3f;
import sebastiankerckhof.render.raytrace.Ray;
import sebastiankerckhof.render.raytrace.Hit.Hit;

public abstract class AbstractLight implements Light{
	public Color3f color;
	public float intensity;
	
	public float getIntensity(){
		return intensity;
	}
	
	@Override
  public Color3f getColor() {
	  return this.color.scale(intensity);
  }
}
